Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sketch): remove deprecated icons from sketch plugin #8060

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Mar 10, 2021

Closes #7732
Related #4195
Related #5015

This PR integrates icon symbol deprecation into the Sketch plugin icon sync commands. When running the icon sync commands deprecated icon symbols on the current document will be removed and no additional symbols of deprecated icons will be created. Previously, the plugin would only exclude deprecated icons from new symbol/artboard creation during the sync command, but now the plugin will also remove existing symbols of deprecated icons

Changelog

New

  • symbolName formatter function
  • remove deprecated symbols before completing icons sync

Testing / Reviewing

Confirm that existing deprecated icons are removed from the current document when icons sync is run and no deprecated icon symbols are created as well. Ensure that there are no regressions with icons sync behavior

carbon-elements.sketchplugin.zip

@netlify
Copy link

netlify bot commented Mar 10, 2021

Deploy preview for carbon-elements ready!

Built with commit 6cdb8d1

https://deploy-preview-8060--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Mar 10, 2021

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 6cdb8d1

https://deploy-preview-8060--carbon-components-react.netlify.app

@emyarod emyarod force-pushed the 7732-remove-deprecated-icons-from-sketch-plugin branch from 9c0b94e to 0f8fa75 Compare March 12, 2021 16:04
Copy link
Member

@laurenmrice laurenmrice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Deprecated icons are removed from the library. I test both icon libraries 🎉👏

Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yahooooo @emyarod

@kodiakhq kodiakhq bot merged commit 2ce21ab into carbon-design-system:main Mar 16, 2021
@emyarod emyarod deleted the 7732-remove-deprecated-icons-from-sketch-plugin branch March 17, 2021 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[icons] deprecated icon bug with sketch plugin
4 participants